if(WIN32 OR CYGWIN)
  set(LLVM_LINK_COMPONENTS Core Support)
endif()
find_package(z3 REQUIRED)

add_llvm_library( LLVMObf MODULE BUILDTREE_ONLY
  ObfCall.cpp
  FRProtector.cpp
  RandomControlFlow.cpp
  ObfuscateMBA.cpp
  DEPENDS
  intrinsics_gen
  PLUGIN_TOOL
  opt

  LINK_LIBS
  ${Z3_LIBRARIES}
  )
